#if !defined(AFX_HEADERCTRLEX_H__65500DA4_8358_4874_BEA5_774DBD1BE7E5__INCLUDED_)
#define AFX_HEADERCTRLEX_H__65500DA4_8358_4874_BEA5_774DBD1BE7E5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HeaderCtrlEx.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CHeaderCtrlEx window

class CHeaderCtrlEx : public CHeaderCtrl
{
// Construction
public:
	CHeaderCtrlEx();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHeaderCtrlEx)
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	int SetSortType( int nCol, int nSortType );
	virtual ~CHeaderCtrlEx();
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
	// Generated message map functions
protected:
	//{{AFX_MSG(CHeaderCtrlEx)
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
private:
	CFont	m_font;
//	COLORREF	m_crTextColor;
	int		m_nSortCol;
	int		m_nSortType;
//	HDC		m_hDC;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_HEADERCTRLEX_H__65500DA4_8358_4874_BEA5_774DBD1BE7E5__INCLUDED_)
